<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>压力盒子元素全屏居中</title>
  <link rel="stylesheet" href="css/common.css">
  <link rel="stylesheet" href="css/fb01.css">
</head>

<body>

  <div class="myflex">
    <div>
      <div class="tc">屏幕居中</div>
      <hr>
      <div>把我固定到屏幕的中间区域</div>
    </div>
  </div>

</body>

</html>